/**
 * @description 自动import导入所有 api 模块
 */

const files = import.meta.globEager('./model/*.js');

const modules = {

}
for (const key of Object.keys(files)) {
    let res = files[key];
    let s = key.replace(/(\.\/|\.js)/g, '');
    let mk = s.replace("model/", "");

    modules[mk] = res.default
}

export default modules
